package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class IntTest {
    public static void main(String[] args) {
        //int的包装类
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        Integer j=new Integer("23");
        int i = j.intValue();
        int k=Integer.parseInt("155");
        System.out.println(k);
        //Double.parseDouble();
        //Long.parseLong()

        int h=new Integer("166");//装箱还是拆箱？拆
        Integer m=266;//装箱
        Integer n=null;
        byte b=m.byteValue();//(byte)266
        System.out.println(b);
    }
}
